import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import Antd from "ant-design-vue";
import "ant-design-vue/dist/antd.css";
import "./assets/fonts/iconfont.css"

Vue.use(Antd);

Vue.config.productionTip = false;

new Vue({
  //总线挂载到vue原型上
  beforeCreate() {
    Vue.prototype.$bus = this;
  },
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
